From: Rosen Penev Date: Thu, 14 Nov 2024 22:23:50 +0000 (-0800) Subject: httping: fix compilation with full NLS X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=0f24c4daf83a28e2ff8196af13d3feaa2e8f722e;p=feed%2Fpackages.git httping: fix compilation with full NLS -lintl is needed. Signed-off-by: Rosen Penev (cherry picked from commit 824b2c09a0e8cebab7a604046376979cfcac7a5a) --- diff --git a/net/httping/Makefile b/net/httping/Makefile index 5ef2c2cdd2..423d8d2207 100644 --- a/net/httping/Makefile +++ b/net/httping/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=httping PKG_VERSION:=3.5 -PKG_RELEASE:=1 +PKG_RELEASE:=3 PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE_FILES:=LICENSE diff --git a/net/httping/patches/010-nls.patch b/net/httping/patches/010-nls.patch new file mode 100644 index 0000000000..f22876daba --- /dev/null +++ b/net/httping/patches/010-nls.patch @@ -0,0 +1,13 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -30,7 +30,9 @@ add_executable( + + set(CMAKE_BUILD_TYPE Debug) + +-target_link_libraries(httping m) ++find_package(Intl) ++ ++target_link_libraries(httping m Intl::Intl) + + include(FindPkgConfig) +